<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Purchase_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-purchase_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[purchase_date]" type="text" value="{$row.purchase_date}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Purchase_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-purchase_num" class="form-control" name="row[purchase_num]" type="number" value="{$row.purchase_num}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('First_cat')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-first_cat" class="form-control" name="row[first_cat]" type="text" value="{$row.first_cat}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Second_cat')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-second_cat" class="form-control" name="row[second_cat]" type="text" value="{$row.second_cat}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-code" class="form-control" name="row[code]" type="text" value="{$row.code}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sku')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sku" class="form-control" name="row[sku]" type="text" value="{$row.sku}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_code" class="form-control" name="row[product_code]" type="text" value="{$row.product_code}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_name_cn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_name_cn" class="form-control" name="row[product_name_cn]" type="text" value="{$row.product_name_cn}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_name_en')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_name_en" class="form-control" name="row[product_name_en]" type="text" value="{$row.product_name_en}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Brand')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-brand" class="form-control" name="row[brand]" type="text" value="{$row.brand}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Spec')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-spec" class="form-control" name="row[spec]" type="text" value="{$row.spec}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Case_quantity')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-case_quantity" class="form-control" name="row[case_quantity]" type="number" value="{$row.case_quantity}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shelf_life')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shelf_life" class="form-control" name="row[shelf_life]" type="text" value="{$row.shelf_life}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Produce_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-produce_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[produce_date]" type="text" value="{$row.produce_date}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Best_by_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-best_by_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[best_by_date]" type="text" value="{$row.best_by_date}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Purchase_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-purchase_price" class="form-control" step="0.01" name="row[purchase_price]" type="number" value="{$row.purchase_price}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Online_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-online_price" class="form-control" step="0.01" name="row[online_price]" type="number" value="{$row.online_price}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Vip_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-vip_price" class="form-control" step="0.01" name="row[vip_price]" type="number" value="{$row.vip_price}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Effect')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-effect" class="form-control" name="row[effect]" type="text" value="{$row.effect}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_mark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_mark" class="form-control" name="row[product_mark]" type="text" value="{$row.product_mark}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weight')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weight" class="form-control" name="row[weight]" type="number" value="{$row.weight}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('From')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-from" class="form-control" name="row[from]" type="text" value="{$row.from}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ingredients')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-ingredients" class="form-control " rows="5" name="row[ingredients]" cols="50">{$row.ingredients}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Units')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-units" class="form-control" name="row[units]" type="text" value="{$row.units}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shui_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shui_code" class="form-control" name="row[shui_code]" type="text" value="{$row.shui_code}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hs_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hs_code" class="form-control" name="row[hs_code]" type="text" value="{$row.hs_code}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Company_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-company_code" class="form-control" name="row[company_code]" type="text" value="{$row.company_code}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Storehouse_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-storehouse_code" class="form-control" name="row[storehouse_code]" type="text" value="{$row.storehouse_code}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Com_sku')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-com_sku" class="form-control" name="row[com_sku]" type="text" value="{$row.com_sku}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Customs_clearance_mode')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-customs_clearance_mode" class="form-control" name="row[customs_clearance_mode]" type="number" value="{$row.customs_clearance_mode}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Supplier')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-supplier" class="form-control" name="row[supplier]" type="text" value="{$row.supplier}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Legal_quantity')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-legal_quantity" class="form-control" name="row[legal_quantity]" type="text" value="{$row.legal_quantity}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Second_quantity')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-second_quantity" class="form-control" name="row[second_quantity]" type="text" value="{$row.second_quantity}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-product_img" class="form-control" size="50" name="row[product_img]" type="text" value="{$row.product_img}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-product_img" class="btn btn-danger plupload" data-input-id="c-product_img" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-product_img"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-product_img" class="btn btn-primary fachoose" data-input-id="c-product_img" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-product_img"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-product_img"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Add_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-add_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[add_time]" type="text" value="{$row.add_time}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
